@(loginForm : Form[_])(implicit lang:Lang,flash:Flash,request:Request[_])

@import helper._

@main(Messages("user.login")){
	
        <div class="login">
        <div class="login-screen">
          <div class="login-icon">
            <img alt="@Messages("application.name")" src="@routes.Assets.at("images/normal.png")">
          </div>

          <form class="login-form" method="post" action="@routes.Users.doLogin">
            <div class="form-group">
              <input class="form-control login-field" id="name" name="name" type="text" placeholder="@Messages("form.name")" value="@loginForm.data.getOrElse("name", "")">
              <label class="login-field-icon fui-user" for="login-name"></label>
            </div>
            <div class="form-group">
              <input class="form-control login-field" id="password" name="password" type="password" placeholder="@Messages("form.pass")" value="">
              <label class="login-field-icon fui-lock" for="login-pass"></label>
            </div>
            @loginForm.globalError.map { error =>
	      	 <div class="form-group has-error">
           		 <input class="form-control" type="text" value="@error.message">
         	 </div>
      		}
            <button class="btn btn-primary btn-lg btn-block" type="submit">@Messages("user.login.submit")</a>
     	</form>
        </div>
      </div>
        
	
}